package game.adm.dao.dto;

import java.io.Serializable;

public class BaseDTO implements Serializable {

	private String createtime ="";
	private String createdate="";
	private String updatetime ="";
	private String createip = "";
	private String updateip = "";


	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		if(createtime!=null&&createtime.length()>=10)
			this.setCreatedate(createtime.substring(0, 10));
		else
			this.setCreatedate("NULL");
		this.createtime = createtime;
	}

	public String getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}

	public String getCreateip() {
		return createip;
	}

	public void setCreateip(String createip) {
		this.createip = createip;
	}

	public String getUpdateip() {
		return updateip;
	}

	public void setUpdateip(String updateip) {
		this.updateip = updateip;
	}

	public String getCreatedate() {
		return createdate;
	}

	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}


}
